<template>
<h1>EL-栅格布局</h1>
  <el-row>
    <el-col :span="8" style="border:5px solid salmon;">11</el-col>
    <el-col :span="8" style="border:5px solid salmon;">22</el-col>
    <el-col :span="8" style="border:5px solid salmon;">33</el-col>
  </el-row>

  <el-row :gutter="20">
    <el-col :span="12"><img src="imgs/rich.jpg" style="width: 100%;"></el-col>
    <el-col :span="12"><img src="imgs/rich.jpg" style="width: 100%;"></el-col>

  </el-row>
  <el-row :gutter="10">
    <el-col :span="4" v-for="i in 6" ><img src="imgs/fcq.jpg" style="width: 100%;"></el-col>
  </el-row>
  <el-row :gutter="10">
    <el-col :span="4" ><img src="imgs/fcq.jpg" style="width: 100%;"></el-col>
    <el-col :span="8" ><img src="imgs/fcq.jpg" style="width: 100%;"></el-col>
    <el-col :span="12" ><img src="imgs/fcq.jpg" style="width: 100%;"></el-col>

  </el-row>
  <el-row :gutter="10">
    <el-col :span="3" style="border: 5px solid red;" v-for="i in 8">{{i}}</el-col>

  </el-row>
  <h3>列偏移</h3>
  <el-row >
    <el-col :span="20" :offset="4"><img src="imgs/fcq.jpg" style="width: 100%"></el-col>
  </el-row >

  <h4>布局嵌套</h4>
  <el-row>
    <el-col :span="12" style="border: 5px solid  red;">1111</el-col>
    <el-col :span="12" style="border: 5px solid  green;">222
      <el-row>
        <el-col :span="8" style="border: 5px solid  blue;">3</el-col>
        <el-col :span="8" style="border: 5px solid  yellow;">4</el-col>
        <el-col :span="8" style="border: 5px solid  orange;">5</el-col>
      </el-row>

    </el-col>
  </el-row>
  <hr>
  <h2>我的主页</h2>
  <el-row :gutter="10">
    <el-col :span="8" >
     <el-menu>
       <el-menu-item index="1">选项1</el-menu-item>
       <el-menu-item index="2">选项2</el-menu-item>
       <el-menu-item index="3">选项3</el-menu-item>
     </el-menu>
    </el-col>
    <el-col :span="16">
      <el-row :gutter="10">
        <el-col :span="8"><img src="imgs/rich.jpg" style="width: 100%"></el-col>
        <el-col :span="8"><img src="imgs/rich.jpg" style="width: 100%"></el-col>
        <el-col :span="8"><img src="imgs/rich.jpg" style="width: 100%"></el-col>
      </el-row>
    </el-col>
  </el-row>
</template>
<script setup>

</script>


<style scoped>

</style>